﻿using System;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 订单商品表
    /// </summary>    
    public partial class Order_goods
    {
        public int id { get; set; }
        /// <summary>
        /// 供货商，0系统
        /// </summary>
        public int shop_id { get; set; } = 0;
        /// <summary>
        /// 文章ID
        /// </summary>
        public int article_id { get; set; } = 0;
        /// <summary>
        /// <summary>
        /// 订单ID
        /// </summary>
        public int order_id { get; set; } = 0;
        /// <summary>
        /// <summary>
        /// 商品ID
        /// </summary>
        public int goods_id { get; set; } = 0;
        /// <summary>
        /// <summary>
        /// 商品货号
        /// </summary>
        public string goods_no { get; set; }
        /// <summary>
        /// <summary>
        /// 商品标题
        /// </summary>
        public string goods_title { get; set; }
        /// <summary>
        /// <summary>
        /// 商品图片
        /// </summary>
        public string img_url { get; set; }
        /// <summary>
        /// <summary>
        /// 规格描述
        /// </summary>
        public string spec_text { get; set; }
        /// <summary>
        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal goods_price { get; set; }
        public decimal goods_pv_price { get; set; } = 0;
        /// <summary>
        /// <summary>
        /// 实际价格
        /// </summary>
        public decimal real_price { get; set; }
        public decimal real_pv_price { get; set; }
        /// <summary>
        /// <summary>
        /// 订购数量
        /// </summary>
        public int quantity { get; set; } = 0;
        /// <summary>
        /// <summary>
        /// 积分,正数赠送|负数消费
        /// </summary>
        public int point { get; set; } = 0;
    }
}